<%@page import="com.google.appengine.api.users.UserServiceFactory"%>
<%@page import="com.google.appengine.api.users.UserService"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="windows-31j"%>
<%
	UserService userService = UserServiceFactory.getUserService();
%>
<!DOCTYPE html>
<html lang="ja">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Mike LocRec - SignUp!</title>
	<link href="/styles/style.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
	<script type="text/javascript" src="/scripts/signup.js"></script>
</head>
<body>
	<div id="header">
		<div id="logo">
			<h1><a href="#">MikeLocRec</a></h1>
		</div>
		<div id="menu">
			<ul>
				<li><a href="<%= userService.createLogoutURL("/") %>"></a></li>
			</ul>
		</div>
	</div>
	<div id="wrapper">
		<div id="page">
			<div id="content">
				<div class="post">
					<div class="entry">
						<h2>Please sign up</h2>
						<form action="/user" method="post" id="signup">
							<fieldset>
								<legend><h3>Login Id</h3></legend>
								<input type="text" name="loginId" id="loginId"/>
							</fieldset>
							<input type="button" id="register" name="register" value="Register" onclick="signup();" />
						</form>
					</div>
				</div>
			</div>
		</div>
		<div style="clear : both;">&nbsp;</div>
	</div>
	<div id="dlg" style="display:none">
		<div id="message"></div>
		<input type="button" name="dlgbtn" id="dlgbtn" value="OK" onclick="closeDlg();"/>
	</div>
</body>
</html>